﻿using DevExpress.XtraEditors;
using DevExpress.XtraGrid.Demos.util;
using DXApplicationTangche.UC.标签打印;
using DXApplicationTangche.UC.门店出入库.Service;
using DXApplicationTangche.UC.门店出入库.UC;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplicationTangche.UC.门店出入库
{
    public partial class Form库存导航门户 : DevExpress.XtraEditors.XtraForm
    {
        private XtraUserControl柱状图 xtraUserControl柱状图;
        private XtraUserControl库存明细 xtraUserControl库存;
        public Form库存导航门户()
        {
            InitializeComponent();
            //  待入库Top10
            this.xtraUserControl柱状图 = new XtraUserControl柱状图();
            this.xtraUserControl柱状图.Dock = DockStyle.Fill;
            this.panel待入库品类Top10.Controls.Clear();
            this.panel待入库品类Top10.Controls.Add(this.xtraUserControl柱状图);
            //  库存
            this.xtraUserControl库存 = new XtraUserControl库存明细();
            this.xtraUserControl库存.Dock = DockStyle.Fill;
            this.panel库存.Controls.Clear();
            this.panel库存.Controls.Add(this.xtraUserControl库存);
        }

        private void hyperlinkLabelControl出库_Click(object sender, EventArgs e)
        {
            new Form库存质检贴().ShowDialog();
        }

        private void hyperlinkLabelControl入库_Click(object sender, EventArgs e)
        {
            new Form入库().ShowDialog();
        }
        private void hyperlinkLabelControl产成品入库_Click(object sender, EventArgs e)
        {
            new Form库存流水合计().ShowDialog();
        }

    }
}